package com.mingqijia.gassafety.webserver.webSocket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;
/**
 * @author zhangfei
 * @version 1.0.0
 * @ClassName WebSocketConfig.java
 * @Description WebSocketConfig
 * @createTime 2022年06月13日
 */
@Configuration
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }
}
